package com.momo.seckilling.strategy;


import com.momo.seckilling.service.SeckillIntegrationByService;

import java.util.Map;

/**
 * Created by li on 2019/3/17.
 */
public class SeckillIntegrByDistrAndFuture implements SeckillOperator {
    private SeckillIntegrationByService seckillIntegrationByService;

    public SeckillIntegrByDistrAndFuture(SeckillIntegrationByService seckillIntegrationByService){
        this.seckillIntegrationByService = seckillIntegrationByService;
    }

    @Override
    public Map<String, String> seckillBy(int userid, int id) {
        this.seckillIntegrationByService.seckillIntegrByDistrAndFuture(userid,id);
        return null;
    }
}
